<table width="100%" border="1" align="left" cellspacing="0">
  <tr>
    <td>
      {% if project_info.default_reboot == 1%}
         <input name="reboot" type="checkbox" id="checkbox1" width="50%" checked/>  
      {% else %}
         <input name="reboot" type="checkbox" id="checkbox1" width="50%"/>
      {% end %}
       部署完成是否重启服务</td>
    <td>
       <input name="redo" type="checkbox" id="checkbox2" width="50%" />  
       重新部署</td>
    </td>
  </tr>
  <tr>
      <td>
      {% if project_info.thread == 0 %}
       <label>单线程部署，两次部署间隔{{escape(wt)}}秒
       <input type="hidden" name="deploy_type" value="s{{escape(wt)}}" id="deploy1" class="deploy1" />
       </label>
      {% else %}
       <label>多线程部署，启动{{escape(tn)}}线程
       <input type="hidden" name="deploy_type" value="t{{escape(tn)}}" id="deploy1" class="deploy1" />
       </label>
      {% end %}
      </td>
      <td>
       配置替换暂未开启
     </td>
  </tr>
</table>
<hr/>
<p>
    <table width="100%" border="1" align="left" cellspacing="0">
    {% for prop in props %}
        <tr>
          <td width="10"><input type="radio" name="RadioGroup1" value="{{escape(prop.project_name)}}_{{escape(prop.create_data)}}" id="RadioGroup1_0" /></td>
            <td width="200"><a style="text-decoration:none" href= "getprojectpackage/?package={{escape(prop.project_name)}}_{{escape(prop.create_data)}}" >{{escape(prop.project_name)}}_{{escape(prop.create_data)}}</a></td>
            <td>备注:{{escape(prop.mark)}}</td>
               <!-- check rollback-->
               {% if prop.deploy_status == 1%}
                   <td><font style="color:green">以部署</font></td>
               {% elif  prop.deploy_status == 0 %}
                   <td><font style="color:red">未部署</font></td>
               {% else %}
                   <td><font style="color:red">以部署但有错误。请查日志。</font></td> 
               {% end %}
               <!--check  log-->
               {% if len(str(prop.deploy_log_name)) > 8%}
                   <td><a href= "playbacklog/?log={{escape(prop.deploy_log_name)}}">日志</a></td>
               {% end %}
         </tr>  
     {% end %}
     </table>
</p>
